package com.owc.dao;

import com.owc.domain.dto.ExchangeBaseDTO;import com.owc.domain.entity.Exchange;
import java.util.List;
import com.owc.domain.vo.admin.ExchangeQueryVo;import org.apache.ibatis.annotations.Param;

public interface ExchangeMapper extends BaseMapper<Exchange,Long>{
    /**
     * 获取兑换记录
     *
     * @param userId 用户ID
     */
    List<ExchangeBaseDTO> selectByUserId(@Param("userId") Long userId);

    /**
     * 获取系统兑换订单列表
     *
     * @param queryVo 查询参数
     */
    List<Exchange> selectAllByFilter(@Param("queryVo") ExchangeQueryVo queryVo);
}